<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%><%@ taglib prefix="c"
	uri="http://java.sun.com/jsp/jstl/core"%><%@ taglib
	uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>都市信息网</title>
<link type="text/css" rel="stylesheet" href="../css/style.css">
</head>
<body>
	<center>
		<table style="margin-left: 10px;" bgcolor="white" border="0"
			cellpadding="0" cellspacing="0" width="920">
			<tbody>
				<tr>
					<td align="left" height="400" bgcolor="#FFFFFF" valign="top"
						width="690">
						<table style="margin-top: 5" border="0" cellpadding="0"
							cellspacing="0" width="670">

							<tbody>
								<tr height="1">
									<td></td>
								</tr>
								<tr>
									<td style="border: 1 solid" align="center">
										<table rules="rows" border="0" cellspacing="0" width="100%">
											<tbody>

												<tr align="center" height="30" bgcolor="#F0F0F0">
													<td align="center" width="11%"><b>ID值</b></td>
													<td width="10%"><b>信息类别</b></td>
													<td width="36%"><b>信息标题</b></td>
													<td width="22%"><b>发布时间</b></td>
													<td width="15%"><b>联系人</b></td>
												</tr>

												<c:if test="${empty requestScope.list }">
													<td colspan="5" align="center">『<b>暂时没有信息</b>』 <a href="javascript:window.history.back(-1)">返回</a></td>
												</c:if>
												<c:if test="${!empty requestScope.list }">
													<c:forEach items="${requestScope.list}" var="temp">
														<tr height="30"  id = ${temp.id }>
															<td align="center">${temp.id}</td>
															<td align="center" style="text-indent: 10">${temp.info_type.type_name}</td>
															<td align="center" style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;text-indent: 10"><a
																href="infoCheck?id=${temp.id}" >${temp.info_title}</a></td>
															<td align="center">${temp.info_date}</td>
															<td align="center" style="text-indent: 10">${temp.info_linkman}</td>
														</tr>
													</c:forEach>
												</c:if>
											</tbody>
										</table>
									</td>
								</tr>
							</tbody>
							
							
						</table>
						<table border="0" cellspacing="0" width="900">
							<tbody>
								<tr>
									<td width="60%"><table border="0" cellpadding="3">
											<tbody>

												<tr>
													<td>每页显示：${fn:length(list)}/5 条记录！当前页：${pageNo}/${count} 页！</td>
												</tr>

											</tbody>
										</table></td>
									<td align="left">
									<table border="0" 	cellpadding="3">
											<tbody>
												<tr>
													<td align="right"  colspan="3">
																<c:if test="${ pageNo != 1 }">
																		<a href="infoList?pageNo=${pageNo -1}&pay=${pay}&check=${check}&infoType=${type}">上一页</a>
																</c:if>
																&nbsp;&nbsp;
																<c:if test="${ count != 1 && pageNo != count}">
																	<a href="infoList?pageNo=${pageNo + 1}&pay=${pay}&check=${check}&infoType=${type}">下一页</a>
																</c:if>
														</td>
												</tr>
										</table>
										</td>
								</tr>
							</tbody>
						</table>

					</td>
				</tr>

			</tbody>
		</table>
	</center>
</body>
<script type="text/javascript">
function deltr(id){
	document.getElementById(id).style.display = "none";
	return true;
}
</script>

</html>